package org.jeecg.modules.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.modules.entity.ProjectProfessorInfo;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author : ShiJianlong
 * @date : 2020/7/10 20:25
 */
@Data
@ApiModel(value="Project对象", description="Project对象")
public class Project {
    /**项目id*/
    private String id;
    /**项目名称*/
    @Excel(name = "项目名称", width = 15)
    @ApiModelProperty(value = "项目名称")
    private String projectName;
    /**项目类型*/
    @Excel(name = "项目类型", width = 15)
    @ApiModelProperty(value = "项目类型")
    private String projectType;
    /**专家开始参见项目的时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "专家开始参见项目的时间")
    private Date professorWorkBeginTime;
    /**专家开始参见项目的地址*/
    @Excel(name = "专家开始参见项目的地址", width = 15)
    @ApiModelProperty(value = "专家开始参见项目的地址")
    private String professorWorkAddress;
    /**项目抽取状态*/
    @Excel(name = "项目抽取状态", width = 15)
    @ApiModelProperty(value = "项目抽取状态")
    private ProjectProfessorInfo.projectStage projectStatus;
    /**项目来源*/
    @Excel(name = "项目来源", width = 15)
    @ApiModelProperty(value = "项目来源")
    private String projectFrom;
    /**项目预计评审时长*/
    @Excel(name = "项目预计评审时长", width = 15)
    @ApiModelProperty(value = "项目预计评审时长")
    private String projectExpectTime;
    /**项目金额*/
    @Excel(name = "项目金额", width = 15)
    @ApiModelProperty(value = "项目金额")
    private String projectAmount;
    /**
     * 项目中的全部专家
     */
    private List<Professor> professorList;
    /**当前用户的userId*/
    private String dingUserId;
}
